<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="/common/commtab.jsp"%>
<%
	String errorMsg=(String)request.getParameter("errorMsg");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript">
	var ADMIN_LOGIN="ADMIN_USER";
	var front_LOGIN = "FRONT_USER";
	
	function doBack() {
	  history.back();
	}
	function doContinue() {
		var errorMsg='<%=errorMsg%>';
		if(errorMsg==ADMIN_LOGIN){
			window.location.href='<s:url value="/core/security/login.jsp" />';
		}else{
			window.location.href='<s:url value="/portal/security/login.jsp" />';
		}
	}
	function doClose() {
	  parent.close();
	}
	var timeout =window.setInterval("displayTime()",1000);
	var flag=3;
	var objectmp;
	function displayTime(){
	  	document.getElementById('disid').innerHTML=flag;
	  	if(flag<=1){
	 		window.clearInterval(timeout);
	 		doContinue();
	  	}
	   	flag--;
	}
</script>
<title>Exception</title>
<style>
<!--
.frm1 {
	background-image: url('');
	height:28px;
	line-height: 28px;
	border: 0px;
	width:95px;
	font-size:16px;
	font-family: Arial;
	text-align: center;
	color: #535355;
	cursor:hand;
	font-weight:bold;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" style="margin: 0px;">
<div align="center">
	<table width="100%" border="0" cellspacing="0"  cellpadding="0"  style="width:100%;height:15px;line-height:15px;background-repeat:repeat-x; background: url(''); background-position:top;">
		<tr>
			<td></td>
		</tr>
	</table>

</div>
<div align="center" style="align:center; margin-top: 100px;">

<table width="50%" style="margin:0px; padding:0px;" border="1" cellspacing="0" cellpadding="0">
	<tr>
		<td bgcolor="#FFFFFF" valign="middle" align="center">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="37%" align="center" style="height:200px" rowspan="4"><img src="<ww:url value='/resource/imgnew/timeout.gif'/>" /></td>
				</tr>
				<tr>
					<td style="font-size:20px; font-family: Arial, '黑体'; font-weight: bold;">登录超时</td>
				</tr>
				<tr>
					<td width="63%" valign="middle" style="color: #5A5A5A; font-size:14px;font-family: Arial, Vendera, '黑体';"> 
						 <font color="#FF0000">主意: </font>3秒后跳转<p align="center"><span style="color:#FF0000; font-size:26px;" id="disid">3</span>&nbsp;<i>秒</i></p>
					</td>
				</tr>

				<tr>
					<td style="position:relative;right:-60px" height="30">
   						<input type="button" accesskey="c" onclick="doContinue()" value="登录" class="frm1" />
   						<input type="button" name="Submit3" accesskey="x" onclick="doClose()" value="取消" class="frm1" />
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</div>
</body>
</html>
